package com.example.demo.Dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.bean.customer;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface customerdao extends BaseMapper<customer> {


    @Select("select * from customer")
    List<customer> ShowAllcustomer();


    @Select("select count(*) from customer")
    int Totalcustomer();
}
